#ifndef __WRITE_APPEARANCE_H__
#define __WRITE_APPEARANCE_H__

#include "M3GWriter.hpp"
#include <Windows.h>
#include "MQPlugin.hpp"
#include <vector>


std::vector<unsigned int> writeAppearance (m3g::M3GWriter* writer, MQDocument mq_doc, 
                                        const std::vector<unsigned int>& material_indices,
                                        const std::vector<unsigned int>& cmode_indices,
                                        const std::vector<unsigned int>& texture_indices,
                                        const std::vector<unsigned int>& index_indices,
                                            int layer);

                                        
#endif
